<?php
namespace app\home\model;
use think\Model;

class Freedbook extends Model
{
    protected $createTime = 'addtime';
	protected $name = 'message';

	public function add($Post)
    {
		$this->save($Post);
		$InsertID=$this->getLastInsID();
		if ($InsertID>0){
			return true;
		}else{
			return false;
		}
	}
}